//-------------------------------------------------------------------------
// File: process_information.cpp
//
// Descr.: - todo -
//
// Author: Stefan Leihkauf
// Date:   9/5/2012
//-------------------------------------------------------------------------
#include "cb_pch.h"
#include "process/details/process_information.h"

using namespace detail;

static const DWORD invalid_process_id = 0;
static const DWORD invalid_thread_id  = 0;

//-------------------------------------------------------------------------
/**
*/
process_information::process_information() :
ProcessId(invalid_process_id),
ThreadId(invalid_thread_id)
{
	/* empty */
}

//-------------------------------------------------------------------------
/**
*/
process_information::~process_information()
{
	this->Reset();
}

//-------------------------------------------------------------------------
/**
*/
void process_information::Reset()
{
	HandleProcess.reset();
	HandleThread.reset();
	ProcessId = invalid_process_id;
	ThreadId = invalid_thread_id;
}
